package jpsearch;

import org.apache.sanselan.formats.jpeg.JpegConstants;

public interface JPSearchConstants extends JpegConstants{
	public static final int JPEG_APP0 = 0xE0;
	public static final int JPEG_APP3_Marker = (0xff00) | (JPEG_APP0 + 3);
	public static int byteOrder =  org.apache.sanselan.common.BinaryConstants.BYTE_ORDER_NETWORK;
	
	public static final byte XML_IDENTIFIER[] = { //
		//0x68, //h
		0x74, //t
		0x74, //t
		0x70, //p
		0x3a, //:
		0x2f, ///
		0x2f, ///
		0x77, //w
		0x77, //w
		0x77, //w
		0x2e, //.
		0x77, //w
		0x33, //3
		0x2e, //.
		0x6f, //o
		0x72, //r
		0x67, //g
		0x2f, ///
		0x32, //2
		0x30, //0
		0x30, //0
		0x31, //1
		0x2f, ///
		0x58, //X
		0x4d, //M
		0x4c, //L
		0x53, //S
		0x63, //c
		0x68, //h
		0x65, //e
		0x6d, //m
		0x61, //a
		0x2d, //-
		0x69, //i
		0x6e, //n
		0x73, //s
		0x74, //t
		0x61, //a
		0x6e, //n
		0x63, //c
		0x65, //e
		0 // 0-terminated us-ascii string.
	};

	public static final byte JPSEARCH_IDENTIFIER[] = {
		0x4a, //J
		0x50, //P
		0x53, //S
		0	  //0-terminated 
	};

	public static final byte JPSEARCH_SEM_IDENTIFIER[] = {
		0x53, //S
		0x45, //E
		0x4d, //M
		0	  //0-terminated 
	};

	public static final byte JPSEARCH_SCHEMA[] = {
		0x4a, //J
		0x50, //P
		0x53, //S
		0x65, //e
		0x61, //a
		0x72, //r
		0x63, //c
		0x68, //h
		0x3a, //:
		0x73, //s
		0x63, //c
		0x68, //h
		0x65, //e
		0x6d, //m
		0x61, //a
		0x3a, //:
		0x63, //c
		0x6f, //o
		0x72, //r
		0x65, //e
		0x6d, //m
		0x65, //e
		0x74, //t
		0x61, //a
		0x64, //d
		0x61, //a
		0x74, //t
		0x61, //a
		0
	};
}
